Improve doprnt and its use in verror. (Bug#8545)
authorEli Zaretskii <eliz@gnu.org>
Mon, 25 Apr 2011 08:04:22 +0000 (11:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 25 Apr 2011 08:04:22 +0000 (11:04 +0300)
commit4f5d44983ed16f1ef36274780ad8dbdb0a1c2edc
tree7ec8ccee973a8f316d2efa0255823c1cd83b3f27
parent9ce27ff472cdfefe62a91f124d287f135d178294
Improve doprnt and its use in verror.  (Bug#8545)

 src/doprnt.c (doprnt): Document the set of format control sequences
 supported by the function.  Use SAFE_ALLOCA instead of always
 using `alloca'.
 src/eval.c (verror): Don't limit the buffer size at size_max-1, that
 is one byte too soon.  Don't use xrealloc; instead xfree and
 xmalloc anew.
src/ChangeLog
src/doprnt.c
src/eval.c